package com.example.domain.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 体检预约信息
 */
public class Cash implements Serializable{
    private long id;
    private String cashNum;
    private String cashStatus;
    private Date cashDate;
    private Date finishDate;
    private Double cashMoney;
    private Double commission;
    private Double actualMoney;
    private Long sellerId;
    private String cashType;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getCashNum() {
        return cashNum;
    }

    public void setCashNum(String cashNum) {
        this.cashNum = cashNum;
    }

    public String getCashStatus() {
        return cashStatus;
    }

    public void setCashStatus(String cashStatus) {
        this.cashStatus = cashStatus;
    }

    public Date getCashDate() {
        return cashDate;
    }

    public void setCashDate(Date cashDate) {
        this.cashDate = cashDate;
    }

    public Date getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(Date finishDate) {
        this.finishDate = finishDate;
    }

    public Double getCashMoney() {
        return cashMoney;
    }

    public void setCashMoney(Double cashMoney) {
        this.cashMoney = cashMoney;
    }

    public Double getCommission() {
        return commission;
    }

    public void setCommission(Double commission) {
        this.commission = commission;
    }

    public Double getActualMoney() {
        return actualMoney;
    }

    public void setActualMoney(Double actualMoney) {
        this.actualMoney = actualMoney;
    }

    public Long getSellerId() {
        return sellerId;
    }

    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    public String getCashType() {
        return cashType;
    }

    public void setCashType(String cashType) {
        this.cashType = cashType;
    }

    public Cash() {
    }

    public Cash(Integer id, String cashNum, String cashStatus, Date cashDate, Date finishDate, Double cashMoney, Double commission, Double actualMoney, Long sellerId, String cashType) {
        this.id = id;
        this.cashNum = cashNum;
        this.cashStatus = cashStatus;
        this.cashDate = cashDate;
        this.finishDate = finishDate;
        this.cashMoney = cashMoney;
        this.commission = commission;
        this.actualMoney = actualMoney;
        this.sellerId = sellerId;
        this.cashType = cashType;
    }

    @Override
    public String toString() {
        return "Cash{" +
                "id=" + id +
                ", cashNum='" + cashNum + '\'' +
                ", cashStatus='" + cashStatus + '\'' +
                ", cashDate=" + cashDate +
                ", finishDate=" + finishDate +
                ", cashMoney=" + cashMoney +
                ", commission=" + commission +
                ", actualMoney=" + actualMoney +
                ", sellerId=" + sellerId +
                ", cashType='" + cashType + '\'' +
                '}';
    }
}
